/**
 * 
 */
package image.bmp;

/**
 * @author nquangtrung
 *
 */
public class Bitmap {
	private int[][] map;

	/**
	 * 
	 */
	public Bitmap(int width, int height) {
		map = new int[width][height];
	}
	
	public int getRGB(int x, int y) {
		return this.map[x][y];
	}
	public void setRGB(int x, int y, int value) {
		this.map[x][y] = value;
	}

	/**
	 * @return the map
	 */
	public int[][] getMap() {
		return map;
	}

	/**
	 * @param map the map to set
	 */
	public void setMap(int[][] map) {
		this.map = map;
	}

}
